package com.andy.qi.domain;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "t_accounts")
public class Account {

    @Id
    private String account;
    private String password;
    
    
    protected Account() {
    }
    
    public Account(String account, String password) {
        this.account = account;
        this.password = password;
    }
    
    public String getAccount() {
        return account;
    }
    public void setAccount(String account) {
        this.account = account;
    }
    public String getPassword() {
        return password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    
}
